<template>
  <div>
    御剑乘风来,除魔天地间!==slotuse
    <qq bg='green' title="second" @left="left" @right="right">
      <span slot="left">《 </span>

      <template slot="right">
        <span> right </span>
        <span> 》 </span>
      </template>
    </qq>

    ======
    <qq bg='yellow' title="导演" @left="left" @right="right">
      <span slot="left"> ☆ </span>
      <template slot="right">
        <span>❥(^_-)</span>
      </template>
    </qq>
  </div>
</template>

<script>
import slots from "./index";
export default {
  name: "",
  components: {
    qq: slots
  },
  methods: {
    left() {
      alert("left");
    },
    right() {
      alert("right");
    }
  }
};
</script>
<style lang="less" scoped></style>
